import http from '../utils/http'

export const login = (data) => http.post('/api/auth/login', data)
export const logout = () => http.post('/api/auth/logout')
export default { login, logout }

